import Vue from 'vue'
import Vuex from 'vuex'
import user_info from "./store_modules/user-info"
import connection from "./store_modules/connection"
import auth from "./store_modules/auth"

Vue.use(Vuex)

export default new Vuex.Store({
    state: {

    },
    mutations: {

    },
    actions: {
        init({ dispatch }) {
            dispatch("user_info/init");
        }
    },
    modules: {
        user_info,
        connection,
        auth
    }
});
